package file;

import java.io.File;
import java.util.Arrays;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: Administrator
 * \* Date: 2022/4/7
 * \* Time: 22:11
 * \* To change this template use File | Settings | File Templates.
 * \* Description:
 * \
 */
public class Demo6 {
    public static void main(String[] args) {
        File f = new File("./");
        System.out.println(Arrays.toString(f.listFiles()));//打印出目录内容的操作
    }
}
